﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Extentions;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 系统设置
    /// </summary>
    [ExLanguageKey("SysSetting")]
    public partial class SysSettingExList
    {
        /// <summary>
        /// 系统设置ID
        /// </summary>
        [ExLanguageKey("ID")]
        [Key]
        public int ID { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        [ExLanguageKey("SysStoreID")]
        public int SysStoreID { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [ExLanguageKey("SysSettingName")]
        public string SysSettingName { get; set; }

        /// <summary>
        /// 拼音
        /// </summary>
        [ExLanguageKey("PY")]
        public string PY { get; set; }

        /// <summary>
        /// 系统设置类型;其它=0,单号=1
        /// </summary>
        [ExLanguageKey("EnumSettingType")]
        public EnumSettingType EnumSettingType { get; set; }

        /// <summary>
        /// 编码枚举;入库单号=1,出库单号=-1
        /// </summary>
        [ExLanguageKey("EnumSettingCode")]
        public EnumSettingCode EnumSettingCode { get; set; }

        /// <summary>
        /// 值,自己定义格式,比如定义json格式
        /// </summary>
        [ExLanguageKey("Value")]
        public string Value { get; set; }

        /// <summary>
        /// 最后修改员工ID
        /// </summary>
        [ExLanguageKey("UpdateSysEmployeeID")]
        public int? UpdateSysEmployeeID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExLanguageKey("UpdateDate")]
        public DateTime? UpdateDate { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [ExLanguageKey("IsDel")]
        public bool IsDel { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExLanguageKey("Remark")]
        public string Remark { get; set; }

        /// <summary>
        /// 店铺;店铺的数据,有Filter的
        /// </summary>
        [ExNoModify]
        [ExLanguageKey("SysStore")]
        public SysStoreExPart SysStore { get; set; }
    }
}
